rust-mysql-simple
Mysql client library implemented in rust. Feel free to open a new issues and pull requests.
Changelog
Available here
Documentation
Latest crate API docs hosted here.
Installation
Please use crates.io
[]
= "*"
rust-mysql-simple offer support of SSL via ssl
cargo feature which is enabled by default. If you have no plans to use SSL, then you should disable that feature to not to depend on rust-openssl:
[]
= "*"
= false
= ["socket"]
Windows support (since 0.18.0)
Currently rust-mysql-simple have no support of SSL on windows. To use crate on Windows you have to disable default features.
[]
= "*"
= false
= ["pipe"]
Optional features
You can compile rust-mysql-simple with the uuid
feature, which makes it possible to use UUIDs with MySQL conveniently.
The uuid
feature depends on the uuid
crate and UUIDs are assumed to be binary encoded in MySQL. So make sure that your MySQL fields are binary(16).
To activate the uuid
feature, add it to the features
list:
[]
= { = "*", = ["uuid"] }